
const { config } = require("vuepress-theme-hope");

module.exports =  config( {

    lang: 'zh-CN',
    title: "飞哥的技术博客",
    description: "喜欢的地方很远，喜欢的东西很贵，喜欢的人很优秀。",
    dest: "public",
    head: [
        ["meta", {name: "baidu-site-verification", content: "nGf5yi0Gec"}],
        ["meta", {name: "baidu-site-verification", content: "4H7tszevS8"}],
        [
            "link",
            {
                rel: "mask-icon",
                href: "/assets/safari-pinned-tab.svg",
                color: "#5c92d1",
            },
        ],
        [
            "script",
            {
                src: "https://kit.fontawesome.com/ca37c296c5.js",
                crossorigin: "anonymous",
            },
        ]
    ],
    locales: {
        "/": {
            lang: "zh-CN",
            title: "飞哥的技术博客",
            description: "飞哥带你飞",
        },
    },
    themeConfig: {
        logo: "/avatar.jpg",
        lastUpdated: "Last Updated",
        hostname:"https://www.jokerak.com",
        repo:"https://gitee.com/fakerlove/blog-ai",
        author: "joker",
        record: "苏ICP备19074673号",

        mdEnhance: {
            align: true,
            demo: true,
            flowchart: true,
            footnote: true,
            presentation: true,
            sub: true,
            sup: true,
            tex: true,
        },
        footer: {
            copyright: "Copyright © 2021-present joker",
            display: true,
        },

        startYear: "2021",
        docsDir: 'src', // 编辑的文件夹
        nav: [
            {text: "首页", link: "/", icon: "reco-home"},
            {
                text: "Python",
                items: [
                    {text: "基础", link: "/python/"},
                    {text: "进阶", link: "/python/2-python-advance/"},
                    {text: "数据库连接", link: "/python/3-python-mysql/"},
                    {text: "numpy学习", link: "/python/4-numpy-pandas-matplotlib/"},
                    {text: "爬虫", link: "/python/5-python-crawler/"},
                ]
            },
            {
                text: "机器学习",
                items: [
                    {text: "绪论", link: "/machine-learning/",},
                    {
                        text: "监督学习",
                        items: [
                            {text: "2-线性模型", link: "/machine-learning/2-LinearModel/"},
                            {text: "3-支持向量积", link: "/machine-learning/3-SVM/"},
                            {text: "4-决策树", link: "/machine-learning/4-DecisionTree/"},
                            {text: "5-深度学习", link: "/deep-learning/5-deep-learning/"},
                            {text: "6-贝叶斯分类器", link: "/machine-learning/6-BayesClassifier/"},
                        ]
                    },
                    {
                        text: "无监督学习",
                        items: [
                            {text: "7-集成学习", link: "/machine-learning/7-EnsembleLearning/"},
                            {text: "8-聚类", link: "/machine-learning/8-Cluster/"},
                            {text: "9-度量学习", link: "/machine-learning/9-DimensionalityReduction/"},
                            {text: "10-特征选择", link: "/machine-learning/10-Featurization/"},
                        ]
                    },
                    {
                        text: "强化学习",
                        items: [
                            {text: "11-概率图模型", link: "/machine-learning/11-PGM/"},
                        ]
                    },
                    {
                        text: "代码",
                        link: "https://gitee.com/fakerlove/machine-learning"
                    }
                ]
            },
            {
                text: "深度学习",
                items: [
                    {text: "绪论", link: "/deep-learning/"},
                    {text: "3-BP算法", link: "/deep-learning/3-BP/"},
                    {text: "4-卷积神经网络CNN", link: "/deep-learning/4-CNN/"},
                    {text: "5-循环和递归神经网络RNN", link: "/deep-learning/5-RNN/"},
                    {text: "6-生成对抗网络GAN", link: "/deep-learning/6-GAN/"},
                ]
            },
            {
                text: "研一救命笔记",
                items: [
                    {text: "高等英语", link: "/english/"},
                    {text: "矩阵分析", link: "/matrix/"},
                    {text: "组合数学", link: "/combinatorics/"},
                ]
            },
            {
                text: "链接",
                items: [
                    {
                        text: "B站",
                        link: "https://space.bilibili.com/210055244",
                    },
                    {
                        text: "Gitee",
                        link: "https://gitee.com/fakerlove",
                    },
                    {
                        text: "CSDN",
                        link: "https://jokerak.blog.csdn.net/",
                    }
                ]
            }
        ],
        sidebar: {
            "/deep-learning/": [
                "3-BP/",
                {
                    title: "4. 卷积神经网络CNN",
                    icon: "creative",
                    prefix: "4-CNN/",
                    collapsable: false,
                    children: [
                        "",
                        "1-Convolution/",
                        "2-pooling/",
                        "3-upsampling/",
                        "4-BatchNormalization/",
                    ],
                },
                {
                    title: "5. 循环和递归神经网络RNN",
                    icon: "creative",
                    prefix: "5-RNN/",
                    collapsable: false,
                    children: [
                        "",
                        "1997-LSTM/",
                        "2014-GRU/",
                        "2014-seq2seq/",
                        "Bidirectional-cyclic-neural-network/",
                        "Deep-recurrent-neural-network/",
                        "coder-and-decoder/"
                    ],
                },
                "6-GAN/",
                "7-Transformer/",
                "8-adjustment-parameter/",
                "9-question-interview/"

            ],
            "/combinatorics/": [
                "",
                "2-Recursive-relations-and-generating-functions/",
                "3-Repulsion-principle-and-pigeon-nest-principle/",
                "4-Burnside-lemma-and-Polya-theorem/",
                "5-teacher/"
            ],
            "/matrix/": [
                "",
                "2-Inner-product-space/",
                "3-The-standard-form-of-the-matrix/",
                "4-Matrix-functions-and-their-applications/",
                "5-Eigenvalue-estimation-and-generalized-inverse-matrix/",
                "6-Nonnegative-matrix/"
            ],
            "/machine-learning/": [
                "",
                "2-LinearModel/",
                "3-SVM/",
                "4-DecisionTree/",
                "5-deep-learning/",
                "6-BayesClassifier/",
                "7-EnsembleLearning/",
                "8-Cluster/",
                "9-DimensionalityReduction/",
                "10-Featurization/",
                "11-PGM/"
            ],
            "/python/": [
                "",
                "2-python-advance/",
                "3-python-mysql/",
                {
                    title: "4-数据处理-numpy-pandas",
                    icon: "creative",
                    collapsable: false,
                    prefix: "4-numpy-pandas-matplotlib/",
                    children: [
                        "",
                        "matplotlib/",
                        "pandas/",
                    ],
                },
                "5-python-crawler/"
            ]
        },

    },
    // plugins: [
    //     [
    //         "md-enhance",
    //         {
    //             align: true,
    //             demo: true,
    //             flowchart: true,
    //             footnote: true,
    //             presentation: true,
    //             sub: true,
    //             sup: true,
    //             tex: true,
    //         },
    //     ],
    // ],


})